package entity;

public class UserInfo {
	private Integer userInfoId;
	private Integer age;
	private String sex;
	private User user;
	
	public UserInfo() {}

	@Override
	public String toString() {
		return "UserInfo [userInfoId=" + userInfoId + ", age=" + age + ", sax="
				+ sex + ", user=" + user + "]";
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	public Integer getUserInfoId() {
		return userInfoId;
	}

	public void setUserInfoId(Integer userInfoId) {
		this.userInfoId = userInfoId;
	}

	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	
}
